<template>
  <el-dialog
    v-bind="$attrs"
    :destroy-on-close="false"
    :close-on-click-modal="false"
    :close-on-press-escape="false"
    :show-close="false"
    append-to-body
  >
    <slot></slot>
    <template #footer>
      <slot name="footer"></slot>
    </template>
  </el-dialog>
</template>
<script>
export default {
  name: 'c-dialog',
  setup() {},
}
</script>
